@echo off
echo ========================================
echo       TTS V3 配置检查工具
echo ========================================
echo.

echo 检查环境变量设置:
echo VOLCENGINE_TTS_APP_ID = %VOLCENGINE_TTS_APP_ID%
echo VOLCENGINE_TTS_TOKEN = %VOLCENGINE_TTS_TOKEN%
echo.

if "%VOLCENGINE_TTS_APP_ID%"=="" (
    echo ❌ VOLCENGINE_TTS_APP_ID 环境变量未设置
    echo 请设置: set VOLCENGINE_TTS_APP_ID=your_app_id
) else (
    echo ✓ VOLCENGINE_TTS_APP_ID 已设置
)

if "%VOLCENGINE_TTS_TOKEN%"=="" (
    echo ❌ VOLCENGINE_TTS_TOKEN 环境变量未设置
    echo 请设置: set VOLCENGINE_TTS_TOKEN=your_token
) else (
    echo ✓ VOLCENGINE_TTS_TOKEN 已设置
)

echo.
echo 请确保你已经:
echo 1. 在火山引擎控制台创建了TTS应用
echo 2. 获取了正确的AppID和Token
echo 3. 启用了V3双向流式TTS服务
echo 4. Resource ID使用了: seed-tts-2.0
echo.

echo 设置环境变量示例:
echo set VOLCENGINE_TTS_APP_ID=2312518094
echo set VOLCENGINE_TTS_TOKEN=your_actual_token_here
echo.

pause